<%
//用户
var title  ="新闻中心";
layout("/inc/layout.html",{
title:title,
keywords:title,
description:title,
style:'user.css'
}){
%>
<section class="container mt20">
    <ul class="breadcrumb">当前位置：
        <li><a href="/">主页</a></li>
        <li><a href="#">新闻中心</a></li>
        <li>正文</li>
    </ul>
</section>

<div class="container">
    <!--项目发布-->
    <section>
        <div class="panel panel-default">
            <div class="panel-body">
                <!--项目状态-->
                <h2 align="center"><b>${news.title!}</b></h2>
                <div align="center" class="text-muted">${news.createTime,'yyyy-MM-dd HH:mm:ss'}</div>
                <hr/>
                <div>
                    <div class="alert alert-info">
                        ${news.description!}
                    </div>
                    <img class="img-thumbnail" src="${uploaderFilesDomain!}${news.picture!uploaderImageNotpic}" alt="主图" />
                    <p class="font18">${news.intro!}</p>
                    <hr/>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-8">
                            <a href="/" class="btn btn-success btn-lg btn-block">&nbsp;返回首页&nbsp;</a>
                        </div>
                    </div>
             </div>
             
            </div>
        </div>
    </section>
</div>
<% } %>
<script>
    require(['modules/user_info'], function (userInfo) {
        userInfo.index();
    });
</script>
</body>
</html>